package com.zork.cmdb.webapi.api;

import com.zork.cmdb.webapi.common.exception.CmdbRequestLimitException;
import com.zork.cmdb.webapi.common.response.ResponseEntityEnum;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenjh
 * @date 2018/6/28
 * @description
 */
@RestController
@RequestMapping(value="/reject")
public class RejectController {

    @GetMapping("")
    public ResponseEntityEnum reject() throws CmdbRequestLimitException {
        throw new CmdbRequestLimitException();
    }
}
